//
//  joymengAdView.h
//  GameChooser
//
//  Created by LT-LT on 14-1-23.
//  Copyright (c) 2014年 moonwolf. All rights reserved.
//

#import <UIKit/UIKit.h>

#define REQUSET_URL  @"http://ipa.602557203.com/adconfig.txt"
#define VIEW_HEIGHT 220
#define LOCAL_SHOW_TIME  7*24*60*60
void (^BarkCallback) (BOOL success);

@interface joymengAdView : UIView
@property (nonatomic,strong)NSMutableData *receiveData;
@property (nonatomic,strong)NSString *abc;
/*
It wll callback when adView request complete
you can use "success" to get the result and change your frame
you just need add this view to your View.
 */
- (void)setCompletionBlock:( void (^) (BOOL success) ) eachBark;

/*
 Creat LocalNotification
 It will show only one time a week
 you can edit LOCAL_SHOW_TIME to control how long
 */
+(void)localAlertCheck;
@end
